<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>layui.layer弹层组件</title>
		<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
		<script src="../layer/layer.min.js"></script>
		<link rel="stylesheet" href="../layer/skin/layer.css">
		<link rel="stylesheet" href="../layer/layui/css/layui.css">
	</head>
	<body>
		<h3>
			<a href="http://layui-doc.pearadmin.com/doc/modules/layer.html" target="_blank">layui.layer文档</a>
		</h3>
		<script>
			layer.msg('hello');
			layer.open({
			  title:"任务详情",
			  type: 2,
			  area: ['80%', '80%'],
			  fixed:true,
			  maxmin:true,
			  content: 'https://www.baidu.com' //这里content是一个URL，如果你不想让iframe出现滚动条，你还可以content: ['http://sentsin.com', 'no']
			});
		</script>
	</body>
</html>